package org.jeecg.modules.basic.outstocktype.service.impl;

import org.jeecg.modules.basic.outstocktype.entity.LwgyOutStockType;
import org.jeecg.modules.basic.outstocktype.mapper.LwgyOutStocktypeMapper;
import org.jeecg.modules.basic.outstocktype.service.ILwgyOutStockTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;
import java.util.Map;

/**
 * @Description: 出库方式表
 * @Author: jeecg-boot
 * @Date:   2021-04-02
 * @Version: V1.0
 */
@Service
public class LwgyOutStocktypeServiceImpl extends ServiceImpl<LwgyOutStocktypeMapper, LwgyOutStockType> implements ILwgyOutStockTypeService {
    @Autowired
    private LwgyOutStocktypeMapper lwgyOutStocktypeMapper;
    @Override
    public List<LwgyOutStockType> selectByMainId(String mainId) {
        return lwgyOutStocktypeMapper.selectByMainId(mainId);
    }

    @Override
    public List<LwgyOutStockType> queryPageList(String id) {
        return lwgyOutStocktypeMapper.queryList(id);
    }

    @Override
    public List<Map<String, Object>> queryPageSureList(String applyId) {
        return lwgyOutStocktypeMapper.querySureList(applyId);
    }
}
